<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterNotifyAddMark extends Migrator
{
    public function up()
    {
        $sql = <<<SQL
      ALTER TABLE `notify`
ADD COLUMN `mark`  text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci  COMMENT '回调返回信息' ;
SQL;
        $this->execute($sql);

    }

    public function down()
    {
        $this->table('notify')
            ->removeColumn('mark');

    }
}
